<%@page import="com.mmy.domain.scenic.TScenicBase"%>
<%@page import="com.mmy.domain.scenic.TScenicOrder"%>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
 <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%> 
 <%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %> 
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<jsp:include page="/WEB-INF/jsp/include1.jsp"></jsp:include>

<title>景点信息</title>
</head>
<body>
	
	<div id="off-canvas-container" class="off-canvas-container">
		<jsp:include page="/WEB-INF/jsp/FrontHeader.jsp"></jsp:include>
        <div id="index-back">
			<main class="at-padding-large-bottom">
			<article>		
				<header class="frontbg-light at-padding-large-top at-padding-large-bottom at-margin-large-bottom">
					<div class="page-header container">
					<div class="row">
					<div class="span-1 col" id="websitesearchdiv" >
						
						</div>	
						<div class="span-11 col" id="websitesearchdiv" >
						<h2 class="h2color" >景区详情</h2>		
						</div>		
					 </div >
					 </div>
				</header>
	<section class="container">
			<div class="information">
			<h4 class="info-h4">
			景点详细信息
			</h4>
				<div class="input-container" id="scenicrow">
				<table class="hotelinfo-table" >
					<tr >
					
						<td colspan="2" rowspan="3" width="20%" >
						<p style="border: #E0EDD3 solid 1px;height:100%;width: 75%; text-align: center;">
						<img   src="imges/${dbScenicBase.getImgPath() }" alt="${dbScenicBase.getScenicName()}" title="${dbScenicBase.getScenicName()}"/>
						
						</p>
						</td>
						<th width="10%"><label>景区名称</label></th>
						<td colspan="5" width="70%" >
							
							<label>${dbScenicBase.getScenicName()}</label>
						</td>
					</tr>	
				<tr>
					<th width="10%"><label>景区星级</label></th>
					<td colspan="2" width="25%">
						<label>${dbScenicBase.getRate()}</label>
					</td>
					<th width="10%"><label>联系人</label></th>
					<td colspan="2" width="25%">
						<label>${dbScenicBase.getContact()}</label>
					</td>
				</tr>
				<tr>
				
					<th width="10%"><label>联系电话</label></th>
					<td colspan="2" width="25%">
						<label>${dbScenicBase.getTel()}</label>
					</td>
					
					<th width="10%"><label>所属公司</label></th>
					<td colspan="2" width="25%">
						<label>${strOrgName}</label>
					</td>
				</tr>
				
				<tr>
					<th width="10%"><label>区域名称</label></th>
					<td width="40%" colspan="3">
						<label>${strProvince }${strCity }${dbScenicBase.getZoneName()}</label>
					</td>
					<th width="10%"><label>具体地址</label></th>
					<td width="40%" colspan="3">
						<label>${dbScenicBase.getAddress()}</label>
					</td>
					
				</tr>
				
			
				<tr>
					<th><label>景区介绍</label></th>
					<td width="90%" colspan="7">
						<label>${dbScenicBase.getIntro()}</label>
					</td>
					
				</tr>
				<tr>
					<th><label>备注</label></th>
					<td colspan="7">
						<label>${dbScenicBase.getMemo()}</label>
					</td>
				</tr>	
					
				</table>
				
						
							
				</div>
				
				<h4 class="info-h4">
					电子票计划
						</h4>
				<div class="input-container" id="scenicrow">
					<div style="width: 90%;">
						<c:forEach items="${lstScenicPlan}" var="lstScenicPlan" varStatus="status">
						
				<table class="hotelinfo-table" >
					<tr>
						<th colspan="8">
						<h5 class="info-h5">
							${lstScenicPlan.getTicketName()}
						</h5>
						</th>
						</tr>
					<tr>
						<th width="10%"><label>开始日期</label></th>
					<td width="40%" colspan="3">
						<fmt:formatDate value='${lstScenicPlan.getStartDate()}' pattern='yyyy-MM-dd'/>
					</td>
					<th width="10%"><label>结束日期</label></th>
					<td width="40%" colspan="3">
						<fmt:formatDate value='${lstScenicPlan.getEndDate()}' pattern='yyyy-MM-dd'/>
						
					</td>					
					
					</tr>
					<tr>
						<th width="10%"><label>报价</label></th>
					<td width="40%" colspan="3">
						<label>${lstScenicPlan.getPrice()}元</label>	</td>
					<th width="10%"><label>数量</label></th>
					<td width="40%" colspan="3">
						<label>${lstScenicPlan.getNumber()}</label>	
					</td>								
					
					</tr>
					<tr>
						<th><label>备注</label></th>
						<td colspan="7">
							<label>${lstScenicPlan.getMemo()}</label>
						</td>
					</tr>
				</table>
				</c:forEach>
				</div>
				</div>	
					<center>
				<input type="button" class="btn" value="预留" onclick="reserveScenic(${dbScenicBase.getScenicID()},${tSysUser.getUserID() })" />
				<input type="button" class="btn" value="返回" onclick="rehidder()"/>
				</center> 	
			
				
			</div>
			</section>
			</article>
			</main>
			</div>
		<jsp:include page="/WEB-INF/jsp/Footer.jsp"></jsp:include>
		</div>
		
		<!-- Main Slider -->
<jsp:include page="/WEB-INF/jsp/include2.jsp"></jsp:include>
		
</body>

</html>